import org.newdawn.slick.*;
import org.newdawn.slick.geom.*;

/**
 * A basic wall tile.
 * 
 * @author Gerrit Jamerson, CodeMonkeys
 * @version 4/3/13
 */
public class TileWall extends TileObject
{
    BoundBox bounds;
    Image wallImage;
    public TileWall(Vector2f pos)
    {
        super("TileWall");
        bounds = new BoundBox(-32, -32, 64, 64);
        enableCollisions(bounds);
        wallImage = GameRegistry.getImage("brickWall");
        setPosition(pos);
    }

    /**
     * Called each step on singleplayer
     * Implementation TBD
     */
    public void spStep()
    {

    }

    /**
     * Called each step on the client in multiplayer
     * Implementation TBD
     */
    public void mpClientStep()
    {

    }

    /**
     * Called each step on the server
     * Implementation TBD
     */
    public void mpServerStep()
    {

    }

    /**
     * Called each frame, used to draw the gameObject
     * Implementation TBD
     */
    public void render(GameContainer gameContainer, Graphics graphics)
    {
        //bounds.draw(getPosition(), graphics);
        wallImage.draw(getPosition().x, getPosition().y, 2f);
    }
}
